bash-completion: Fix --repo autocomplete
authorMatthew Leeds <matthew.leeds@endlessm.com>
Mon, 1 Oct 2018 05:36:42 +0000 (22:36 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 1 Oct 2018 13:19:27 +0000 (13:19 +0000)
commit5cada0f051403255059e6eeeb27665f87311a4e5
tree5d4296339f2e0bff047d3b6979306f328920d3bf
parent39d5db7e1ef99b7c01a21dab3b189ccf660f9d48
bash-completion: Fix --repo autocomplete

This commit fixes the bash tab completion handling of the "--repo"
argument. Before this commit, the completion only works if "--repo"
comes after the main command. After this commit, you can use "--repo"
directly after "ostree" in the command line, as is natural.

Closes: #1745
Approved by: jlebon
bash/ostree